package com.ruoyi.qualityControl.service.impl;

import com.ruoyi.qualityControl.domain.EbPlatform;
import com.ruoyi.qualityControl.mapper.EbPlatformMapper;
import com.ruoyi.qualityControl.service.EbPlatformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EbPlatformServiceImpl implements EbPlatformService {
    @Autowired
    private EbPlatformMapper ebPlatformMapper;
    @Override
    public List<EbPlatform> settleAll() {
        return ebPlatformMapper.selectAll();
    }

    @Override
    public Boolean insert(EbPlatform ebPlatform) {
        return ebPlatformMapper.insert(ebPlatform);
    }

    @Override
    public Boolean update(EbPlatform ebPlatform) {
        return ebPlatformMapper.update(ebPlatform);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return ebPlatformMapper.deleteById(id);
    }
}
